package com.gitee.wsl.ext.collection

import kotlin.math.sqrt

fun Iterable<Double>.standardDeviation() = sqrt(variance())
fun Sequence<Double>.standardDeviation() = asIterable().standardDeviation()
fun Array<out Double>.standardDeviation() = asIterable().standardDeviation()
fun DoubleArray.standardDeviation() = asIterable().standardDeviation()